package e

const (
	Success       uint = 200
	Error         uint = 500
	InvalidParams uint = 400

	// 成员错误 10000开始
	ErrorExistUser    uint = 10002
	ErrorNotExistUser uint = 10003
	ErrorNotCompare   uint = 10004
	// 店家错误	20000 开始

	// 购物车

	// 管理员错误 30000 开始
	ErrorAuthToken            uint = 30001
	ErrorAuthCheckTokenFailed uint = 30002
	ErrorAuthTokenIsNull      uint = 30003
	ErrorAuthCheckTokenExpire uint = 30004

	// 邮箱
	ErrorAuthEmailToken        uint = 30005
	ErrorAuthEmailTokenFailed  uint = 30006
	ErrorCheckEmailTokenExpire uint = 30007
	ErrorSendEmailFailed       uint = 30008
	// 数据库错误
	ErrorDataBase uint = 40001
	// 文件格式错误
	ErrorFileExt        uint = 50001
	ErrorUploadFileFail uint = 50002
)
